package com.banciyuan.wallpaper.api;

import com.google.gson.JsonObject;

import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by squall on 2016/5/11.
 */
public interface CoreApi {

    @FormUrlEncoded
    @POST("wallpaper/dataSync")
    Observable<JsonObject> getCount(@Field("data") String parmas);

    @FormUrlEncoded
    @POST("wallpaper/dailyPaper")
    Observable<JsonObject> getSingle(@Field("data") String parmas);

    @FormUrlEncoded
    @POST("wallpaper/listAll")
    Observable<JsonObject> getList(@Field("data") String parmas);

}
